package com.liwu.base.spring.test.example2.config;

import com.liwu.base.spring.test.example2.Listen;
import com.liwu.base.spring.test.example2.Sleeper;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author: liwu
 * @version: 1.0.0
 * @email: <a href="mailto:liwu@pingpongx.com">联系作者</a>
 * @date: 2018/2/2 - 下午8:10
 */
@Configuration
public class JavaConfig3 {

    @Bean
    public Listen sleeper(){

        return new Sleeper();

    }

}
